package com.kingyun.gpsinspection.purificationservice.facade.model.tdm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息推送
 */
public class MessageImpart extends BootstrapSearchBean implements Serializable {
    //消息推送ID
    private String messageImpartId;
    //任务环节ID
    private String taskLinkId;
    //任务类型
    private Short taskType;
    //任务ID
    private String taskId;
    //任务环节ID
    private String taskLinkName;
    //消息时间
    private Date messageTime;
    //消息内容
    private String messageContent;
    //消息状态 1：已推送，0：已失效
    private Short messageStatus;

    //消息来源 0：任务，1：问题，2问题处置
    private Short messageSource;

    //头路径
    private String path;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMessageImpartId() {
        return messageImpartId;
    }

    public void setMessageImpartId(String messageImpartId) {
        this.messageImpartId = messageImpartId == null ? null : messageImpartId.trim();
    }

    public String getTaskLinkId() {
        return taskLinkId;
    }

    public void setTaskLinkId(String taskLinkId) {
        this.taskLinkId = taskLinkId == null ? null : taskLinkId.trim();
    }

    public Short getTaskType() {
        return taskType;
    }

    public void setTaskType(Short taskType) {
        this.taskType = taskType;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId == null ? null : taskId.trim();
    }

    public String getTaskLinkName() {
        return taskLinkName;
    }

    public void setTaskLinkName(String taskLinkName) {
        this.taskLinkName = taskLinkName == null ? null : taskLinkName.trim();
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent == null ? null : messageContent.trim();
    }

    public Short getMessageStatus() {
        return messageStatus;
    }

    public void setMessageStatus(Short messageStatus) {
        this.messageStatus = messageStatus;
    }

    public Short getMessageSource() {
        return messageSource;
    }

    public void setMessageSource(Short messageSource) {
        this.messageSource = messageSource;
    }
}